package com.overseasShopping.pojo;

import java.util.Date;

public class WalletDetail {
	private int id;
	private Float sum;
	private int type;
	private Date date;
	private Wallet wallet;
	private String userId;
	public WalletDetail() {
		super();
	}
	
	public WalletDetail(Float sum, int type, Date date,String userId) {
		super();
		this.sum = sum;
		this.type = type;
		this.date = date;
		this.userId=userId;
	}



	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Wallet getWallet() {
		return wallet;
	}

	public void setWallet(Wallet wallet) {
		this.wallet = wallet;
	}

	public Float getSum() {
		return sum;
	}

	public void setSum(Float sum) {
		this.sum = sum;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return id + "_" + sum + "_" + type
				+ "_" + date;
	}

	
}
